<extend name="Public/List/Common"/>
<block name="pageHeader">
    <include file="Public/List/Header/header.search.add.batchDel" add-data-width="data-width='700'" add-data-height="data-height='400'" add-title="添加菜单"/>
</block>
<block name="pageContent">
    <div class="bjui-pageContent tableContent">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
                <tr>
                    <th data-order-field="id">编号</th>
                    <th>标题</th>
                    <th data-order-field="sort">排序</th>
                    <th>链接</th>
                    <th>描述</th>
                    <th data-order-field="hide">隐藏</th>
                    <th data-order-field="is_dev">开发者</th>
                    <th>图标</th>
                    <th width="26">
                        <input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck">
                    </th>
                    <th width="100">操作</th>
                </tr>
            </thead>
            <tbody>
                <?php if(@$menuList)foreach($menuList as $arr):?>
                <tr data-id="{$arr.id}">
                    <td>{$arr.id}</td>
                    <td>{$arr['title_show']?$arr['title_show']:$arr['title']}</td>
                    <td>{$arr.sort}</td>
                    <td>{$arr.url}</td>
                    <td>{$arr.tip}</td>
                    <td>{$arr.hide_text}</td>
                    <td>{$arr.is_dev_text}</td>
                    <td>{$arr.icon}</td>
                    <td>
                        <input type="checkbox" name="ids" data-toggle="icheck" value="{$arr.id}"></td>
                    <td>
                        <a href="{:U('edit?id='.$arr['id'].'&pid='.$arr['pid'])}" class="btn btn-green" data-toggle="dialog" data-id="dialog-normal" data-mask="true" data-title="{$arr.title}-编辑" data-width='700' data-height='400'>编辑</a>
                        <a href="{:U('del?id='.$arr['id'])}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删</a>
                    </td>
                </tr>
                <?php endforeach;?>
            </tbody>
        </table>
    </div>
</block>
<block name="pageFooter"></block>